﻿package com.amcharts.pie
{
    import flash.display.*;

    public class Slice extends Object
    {
        public var sprite:Sprite;
        public var legendValue:String;
        public var percents:Number;
        public var legendAlpha:Number;
        public var index:Number;
        public var markerType:String;
        public var legendColor:Number;
        public var title:String;
        public var visibleInLegend:Boolean = true;
        private var _alpha:Number;
        private var _color:Number;
        public var labelQuarter:Number;
        public var hidden:Boolean;
        public var ix:Number;
        public var value:Number;
        public var showBalloon:Boolean = false;
        public var pulled:Boolean;
        public var dataContext:Object;
        public var url:String;
        public var iy:Number;
        public var description:String;
        static const VERSION:String = "1.8.3.1";

        public function Slice()
        {
            return;
        }// end function

        public function get legendKeyColor() : Number
        {
            return legendColor;
        }// end function

        public function set alpha(param1:Number) : void
        {
            _alpha = param1;
            legendAlpha = _alpha;
            return;
        }// end function

        public function set color(param1:Number) : void
        {
            _color = param1;
            legendColor = color;
            return;
        }// end function

        public function get color() : Number
        {
            return _color;
        }// end function

        public function get alpha() : Number
        {
            return _alpha;
        }// end function

    }
}
